<?xml version='1.0' encoding='UTF-8' ?> 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:f="http://java.sun.com/jsf/core"
      xmlns:c="http://java.sun.com/jstl/core">
<body>

<ui:composition template="/WEB-INF/template/assuntotmpl.xhtml"> 
  
  <c:forEach var="assunto" value="#{assuntoBean.assuntos}">   
    <c:set var="assunto.idCategoria" value="#{categoriaId}"/>
    <tr>
      <td class="alinha"><img src="img/new.jpg"></img></td>
      <td class="topicos">
        <span><a href="topico.jsf">#{assunto.titulo}</a></span><br />
        #{assunto.titulo}  
      </td>      
      <td class="alinha">x</td>
      <td class="alinha">x</td>
      <td class="alinha">19.08.2008 13:25 user:<a href="#">pejann</a></td>
    </tr>
  </c:forEach>
  
  <!--ui:define name="topico">
  <f:view>
    <h:form>
      <h:commandButton action="topico" value="Tópicos Relacionados"></h:commandButton>
    </h:form>
  </f:view>    
  </ui:define-->
  
  <ui:define name="resultado">
    <ui:include src="./WEB-INF/comps/busca.xhtml"/>  
  </ui:define>            
  
</ui:composition>

</body>
</html>


